package com.renli.mapper;

import com.renli.pojo.Login;
import com.renli.pojo.Permission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PermissionMapper {
    List<Permission> selectByLogin(Login login);

    List<Permission> selectByUserId(@Param("mid") Integer menuId,@Param("uid") Integer userId);

    List<Permission> selectByRoleId(Integer id);
}
